package com.htandroid.htandroid.entity;

import java.io.Serializable;

public class GcwxList implements Serializable {
	private String ID;
	private String cvouchid;
	private String ddate;
	private String dqdate;
	private String cdepcode;
	private String cdepname;
	private String cwxplcode;
	private String cwxplname;
	private String cmaker;
	private String cbxtext;
	private String bpressing;
	private String cjder;
	private String djddate;
	private String cwxgcode;
	private String cwxgname;
	private String cwxpcode;
	private String cwxpname;
	private String dwcdate;
	private String dxddate;
	private String cxder;
	private String cchecker;
	private String dckdate;
	private String cresult;
	private String cmemo;
	private String cdjcode;
	private String cdjname;
	private String csuspender;
	private String csuspendreason;
	private String dsuspenddate;
	private String ctype;
	private String ctypename;
	private String printsend;
	private String printsendname;
	private String xzwxnames;
	private String xzwxcodes;
	private String eswxdate;
	private String planvouchid;
	private String plandate;
	private String checkmemo;
	private String isndjz;
	private String cstatus;
	private String sucstatus;

	//对比list是否一样
	public  boolean  equals(Object  obj){
		if(obj==null) return false ;
		if(this.getClass()!=obj.getClass()) return false ;
		GcwxList p = (GcwxList) obj ;
		if (!this.ID.equals(p.ID)) return false;
		return  true;
	}
	//搜索时,查看内容是否匹配
	public  boolean  vouchfind(String param){
		//特殊查询转换
		if (this.ID.contains(param)) return true;
		if (this.cvouchid.contains(param)) return true;
		if (this.ddate.contains(param)) return true;
		if (this.dqdate.contains(param)) return true;
		if (this.cdepcode.contains(param)) return true;
		if (this.cdepname.contains(param)) return true;
		if (this.cwxplcode.contains(param)) return true;
		if (this.cwxplname.contains(param)) return true;
		if (this.cmaker.contains(param)) return true;
		if (this.cbxtext.contains(param)) return true;
		if (this.bpressing.contains(param)) return true;
		if (this.cjder.contains(param)) return true;
		if (this.djddate.contains(param)) return true;
		if (this.cwxgcode.contains(param)) return true;
		if (this.cwxgname.contains(param)) return true;
		if (this.cwxpcode.contains(param)) return true;
		if (this.cwxpname.contains(param)) return true;
		if (this.dwcdate.contains(param)) return true;
		if (this.dxddate.contains(param)) return true;
		if (this.cxder.contains(param)) return true;
		if (this.cchecker.contains(param)) return true;
		if (this.dckdate.contains(param)) return true;
		if (this.cresult.contains(param)) return true;
		if (this.cmemo.contains(param)) return true;
		if (this.cdjcode.contains(param)) return true;
		if (this.cdjname.contains(param)) return true;
		if (this.csuspender.contains(param)) return true;
		if (this.csuspendreason.contains(param)) return true;
		if (this.dsuspenddate.contains(param)) return true;
		if (this.ctype.contains(param)) return true;
		if (this.ctypename.contains(param)) return true;
		if (this.printsend.contains(param)) return true;
		if (this.printsendname.contains(param)) return true;
		if (this.xzwxnames.contains(param)) return true;
		if (this.xzwxcodes.contains(param)) return true;
		if (this.eswxdate.contains(param)) return true;
		if (this.planvouchid.contains(param)) return true;
		if (this.plandate.contains(param)) return true;
		if (this.checkmemo.contains(param)) return true;
		if (this.isndjz.contains(param)) return true;
		if (this.cstatus.contains(param)) return true;
		return  false;
	}
	//初始化,将所有值置""
	public void init(){
		this.ID="";
		this.cvouchid="";
		this.ddate="";
		this.dqdate="";
		this.cdepcode="";
		this.cdepname="";
		this.cwxplcode="";
		this.cwxplname="";
		this.cmaker="";
		this.cbxtext="";
		this.bpressing="";
		this.cjder="";
		this.djddate="";
		this.cwxgcode="";
		this.cwxgname="";
		this.cwxpcode="";
		this.cwxpname="";
		this.dwcdate="";
		this.dxddate="";
		this.cxder="";
		this.cchecker="";
		this.dckdate="";
		this.cresult="";
		this.cmemo="";
		this.cdjcode="";
		this.cdjname="";
		this.csuspender="";
		this.csuspendreason="";
		this.dsuspenddate="";
		this.ctype="";
		this.ctypename="";
		this.printsend="";
		this.printsendname="";
		this.xzwxnames="";
		this.xzwxcodes="";
		this.eswxdate="";
		this.planvouchid="";
		this.plandate="";
		this.checkmemo="";
		this.isndjz="";
		this.cstatus="";
		this.sucstatus="";
	}
	public  String  getOutdate(String odatename){
		//特殊查询转换
		if(odatename.equals("dxddate")){
			return this.dxddate;
			//销单时间
		}else if(odatename.equals("dwcdate")){
			//完成时间
			return this.dwcdate;
		}else if(odatename.equals("dckdate")){
			//审核日期
			return this.dckdate;
		}
		return  "";
	}
	public String getCvouchid() {
		return cvouchid;
	}
	public void setCvouchid(String cvouchid) {
		this.cvouchid = cvouchid;
	}
	public String getDdate() {
		return ddate;
	}
	public void setDdate(String ddate) {
		this.ddate = ddate;
	}
	public String getDqdate() {
		return dqdate;
	}
	public void setDqdate(String dqdate) {
		this.dqdate = dqdate;
	}
	public String getCdepcode() {
		return cdepcode;
	}
	public void setCdepcode(String cdepcode) {
		this.cdepcode = cdepcode;
	}
	public String getCwxplcode() {
		return cwxplcode;
	}
	public void setCwxplcode(String cwxplcode) {
		this.cwxplcode = cwxplcode;
	}
	public String getCmaker() {
		return cmaker;
	}
	public void setCmaker(String cmaker) {
		this.cmaker = cmaker;
	}
	public String getCbxtext() {
		return cbxtext;
	}
	public void setCbxtext(String cbxtext) {
		this.cbxtext = cbxtext;
	}
	public String getBpressing() {
		return bpressing;
	}
	public void setBpressing(String bpressing) {
		this.bpressing = bpressing;
	}
	public String getCjder() {
		return cjder;
	}
	public void setCjder(String cjder) {
		this.cjder = cjder;
	}
	public String getDjddate() {
		return djddate;
	}
	public void setDjddate(String djddate) {
		this.djddate = djddate;
	}
	public String getCwxgcode() {
		return cwxgcode;
	}
	public void setCwxgcode(String cwxgcode) {
		this.cwxgcode = cwxgcode;
	}
	public String getCwxpcode() {
		return cwxpcode;
	}
	public void setCwxpcode(String cwxpcode) {
		this.cwxpcode = cwxpcode;
	}
	public String getDwcdate() {
		return dwcdate;
	}
	public void setDwcdate(String dwcdate) {
		this.dwcdate = dwcdate;
	}
	public String getDxddate() {
		return dxddate;
	}
	public void setDxddate(String dxddate) {
		this.dxddate = dxddate;
	}
	public String getCxder() {
		return cxder;
	}
	public void setCxder(String cxder) {
		this.cxder = cxder;
	}
	public String getCchecker() {
		return cchecker;
	}
	public void setCchecker(String cchecker) {
		this.cchecker = cchecker;
	}
	public String getDckdate() {
		return dckdate;
	}
	public void setDckdate(String dckdate) {
		this.dckdate = dckdate;
	}
	public String getCresult() {
		return cresult;
	}
	public void setCresult(String cresult) {
		this.cresult = cresult;
	}
	public String getCmemo() {
		return cmemo;
	}
	public void setCmemo(String cmemo) {
		this.cmemo = cmemo;
	}
	public String getCdjcode() {
		return cdjcode;
	}
	public void setCdjcode(String cdjcode) {
		this.cdjcode = cdjcode;
	}
	public String getCsuspender() {
		return csuspender;
	}
	public void setCsuspender(String csuspender) {
		this.csuspender = csuspender;
	}
	public String getCsuspendreason() {
		return csuspendreason;
	}
	public void setCsuspendreason(String csuspendreason) {
		this.csuspendreason = csuspendreason;
	}
	public String getDsuspenddate() {
		return dsuspenddate;
	}
	public void setDsuspenddate(String dsuspenddate) {
		this.dsuspenddate = dsuspenddate;
	}
	public String getCtype() {
		return ctype;
	}
	public void setCtype(String ctype) {
		this.ctype = ctype;
	}
	public String getPrintsend() {
		return printsend;
	}
	public void setPrintsend(String printsend) {
		this.printsend = printsend;
	}
	public String getPrintsendname() {
		return printsendname;
	}
	public void setPrintsendname(String printsendname) {
		this.printsendname = printsendname;
	}
	public String getXzwxnames() {
		return xzwxnames;
	}
	public void setXzwxnames(String xzwxnames) {
		this.xzwxnames = xzwxnames;
	}
	public String getXzwxcodes() {
		return xzwxcodes;
	}
	public void setXzwxcodes(String xzwxcodes) {
		this.xzwxcodes = xzwxcodes;
	}
	public String getEswxdate() {
		return eswxdate;
	}
	public void setEswxdate(String eswxdate) {
		this.eswxdate = eswxdate;
	}
	public String getPlanvouchid() {
		return planvouchid;
	}
	public void setPlanvouchid(String planvouchid) {
		this.planvouchid = planvouchid;
	}
	public String getPlandate() {
		return plandate;
	}
	public void setPlandate(String plandate) {
		this.plandate = plandate;
	}
	public String getCheckmemo() {
		return checkmemo;
	}
	public void setCheckmemo(String checkmemo) {
		this.checkmemo = checkmemo;
	}
	public String getIsndjz() {
		return isndjz;
	}
	public void setIsndjz(String isndjz) {
		this.isndjz = isndjz;
	}
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public String getCdepname() {
		return cdepname;
	}
	public void setCdepname(String cdepname) {
		this.cdepname = cdepname;
	}
	public String getCwxplname() {
		return cwxplname;
	}
	public void setCwxplname(String cwxplname) {
		this.cwxplname = cwxplname;
	}
	public String getCwxgname() {
		return cwxgname;
	}
	public void setCwxgname(String cwxgname) {
		this.cwxgname = cwxgname;
	}
	public String getCwxpname() {
		return cwxpname;
	}
	public void setCwxpname(String cwxpname) {
		this.cwxpname = cwxpname;
	}
	public String getCdjname() {
		return cdjname;
	}
	public void setCdjname(String cdjname) {
		this.cdjname = cdjname;
	}
	public String getCtypename() {
		return ctypename;
	}
	public void setCtypename(String ctypename) {
		this.ctypename = ctypename;
	}
	public String getCstatus() {
		return cstatus;
	}
	public void setCstatus(String cstatus) {
		this.cstatus = cstatus;
	}
	public String getSucstatus() {
		return sucstatus;
	}
	public void setSucstatus(String sucstatus) {
		this.sucstatus = sucstatus;
	}

}